<%--
  Created by IntelliJ IDEA.
  User: Root404
  Date: 2022/7/8
  Time: 19:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fm" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>Title</title>
    <style>

    </style>
</head>
<body>
<p>mvc:</p>${name}
<img  src="${pageContext.request.contextPath}/statics/images/clock.jpg" alt=""/>
${user.name}
<form method="post" action="${pageContext.request.contextPath}/upload" enctype="multipart/form-data">
   <input type="file"  name="files">
    <input type="submit" value="文件上传">
</form>
${fileinfo}请去${fileinfo2}查看
<fm:form modelAttribute="user">
    <fm:input path="name"></fm:input>
</fm:form>
<script src="${pageContext.request.contextPath}/statics/js/jquery.js"></script>
<script>
    $("p").html("vvv").css("color","red");
</script>
</body>
</html>
